class ApplyForm {
    items = []
    constructor(items) {
        this.items = items
    }
    handleGenderStatus(gender='') {
        for (let i = 0; i < this.items.length; i++) {
            this.items[i].checked = gender.indexOf(this.items[i].value) !== -1;
        }
        return this.items
    }
    findEmptyValue(values=[]) {
        return values.some(item => item === null || item.length === 0)
    }
}
export {
    ApplyForm
}
